package com.sky.mapper;

import com.sky.entity.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface DishFlavorMapper {
    void insert(List<DishFlavor> flavors);

    List<DishFlavor> getDishFlavorByDishId(Long id);

    void update(DishFlavor flavor);

    void delete(Long id);

    void deleteByDishId(Long[] ids);
}
